package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTSportsItemLibrary;
import com.hu.zhcc.shiro.service.xsx.TSportsItemLibraryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 运动项目库 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@RestController
@RequestMapping("/tSportsItemLibrary")
public class TSportsItemLibraryController {
    @Autowired
    TSportsItemLibraryService tSportsItemLibraryService;

    @GetMapping("/all")
    private List<XsxTSportsItemLibrary> yd(){
        return tSportsItemLibraryService.queryAllSportsItemLibrary();
    }

}

